package com.bkaka.service.impl;

import com.bkaka.bean.ResponseBean;
import com.bkaka.dao.ExamTopicLevelDao;
import com.bkaka.entity.ExamTopicLevel;
import com.bkaka.service.ExamTopicLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by maxiaoqiang on 2018/7/17.
 */
@Service
public class ExamTopicLevelImpl implements ExamTopicLevelService{

    @Autowired
    private ExamTopicLevelDao dao;

    @Override
    public ResponseBean findAll() {
        System.out.println(dao.selectAll());
        return new ResponseBean(200, "You are authenticated", dao.selectAll());
    }

}
